<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:template match="/engine">
		<html>
			<head>
				<meta http-equiv="cache-control" content="no-cache" />
				<meta http-equiv="Pragma" content="no-cache" />
				<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
				<title>
					<gt>Administration panel</gt>: 
					<xsl:if test="$currentPageTitle">
						<xsl:value-of select="$currentPageTitle" />
					</xsl:if>
					<xsl:if test="not($currentPageTitle)">
						<xsl:value-of select="$siteName" />
					</xsl:if>
				</title>
				<link rel="StyleSheet" href="{$cssURL}admin_style.css" type="text/css" />
				<xsl:call-template name="jsScriptsAutoLoad"/>
			</head>
			<body>
				<table>
					<xsl:apply-templates select="adminMenu/run" />
					<tr>
						<td>
							<table width="100%" cellpadding="20">
								<tr><td><xsl:apply-templates select="/engine/*[name()=$primaryModule]/*[name()=$primaryModuleMethod]" /></td></tr>
							</table>
						</td>
					</tr>
				</table>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>